package com.qfmy.web.app.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

/**
 * @author 清风明月
 * @Package com.qfmy.common.login
 * @date 2025/9/29
 * @description 微信登入的配置类
 */
@Lazy
@Data
@Component
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxMaProperties {

    @Schema(description = "小程序appid")
    private String appId;

    @Schema(description = "小程序secret")
    private String secret;
}